//-----------------------------------------------------------------------
// <copyright file="QuangCaoBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace APPro.Entities
{
	[Serializable]
	public class QuangCaoBase
	{
		
		#region Variable Declarations
		private int				maQuangCao = 0;
		private string				tenQuangCao = string.Empty;
		private string				noiDung = string.Empty;
		private string				chiTiet = string.Empty;
		private int?				thuocDanhMuc = null;
		#endregion
		
		#region Constructors
		public QuangCaoBase() {}
		
		public QuangCaoBase (
			int maQuangCao,
			string tenQuangCao,
			string noiDung,
			string chiTiet,
			int? thuocDanhMuc)
		
		{
			this.maQuangCao = maQuangCao;
			this.tenQuangCao = tenQuangCao;
			this.noiDung = noiDung;
			this.chiTiet = chiTiet;
			this.thuocDanhMuc = thuocDanhMuc;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MaQuangCao
		{
			get { return maQuangCao; }
			set { maQuangCao = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nchar</value>
		public string TenQuangCao
		{
			get { return tenQuangCao; }
			set { tenQuangCao = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nchar</value>
		public string NoiDung
		{
			get { return noiDung; }
			set { noiDung = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nchar</value>
		public string ChiTiet
		{
			get { return chiTiet; }
			set { chiTiet = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? ThuocDanhMuc
		{
			get { return thuocDanhMuc; }
			set { thuocDanhMuc = value; }
		}
		
		#endregion
	}//End Class
	
	public enum QuangCaoColumns
	{
		MaQuangCao,
		TenQuangCao,
		NoiDung,
		ChiTiet,
		ThuocDanhMuc
	}//End enum
}